//
//  ImageCycly.h
//  yierya-teachers
//
//  Created by MacBook on 15/12/4.
//  Copyright © 2015年 Pro. All rights reserved.
//


#import <UIKit/UIKit.h>
@class ImgUIview;
@protocol WMLoopViewDelegate <NSObject>
@optional
- (void)loopViewDidSelectedImage:(ImgUIview *)loopView index:(int)index;

@end
@interface ImageCycly : UIView
@property (nonatomic, weak) id<WMLoopViewDelegate> delegate;
@property (nonatomic, assign) BOOL autoPlay;
@property (nonatomic, assign) NSTimeInterval timeInterval;
@property (nonatomic, strong) NSArray *images;

- (id)initWithFrame:(CGRect)frame images:(NSArray *)images autoPlay:(BOOL)isAuto delay:(NSTimeInterval)timeInterval titleAray:(NSMutableArray *)titles;

@end
